Skip to content

Conversation

@fmount
Copy link
Contributor

@fmount fmount commented Oct 24, 2025

rgw_frontend_ssl_certificate has been deprecated in ceph8 and in ceph9 doesn't work properly anymore. There's a new way of setting both cert and key when ssl is used and is fully documented in [1].
This patch preserves the old way of deploying rgw through a new var used to execute the old code. When rgw_ssl_backward_compatibility is set, the old facts are created, resulting in populating the old variables, otherwise the new method based on ssl_cert and ssl_key fields is applied.

[1] https://docs.ceph.com/en/latest/cephadm/services/rgw/

Jira: https://issues.redhat.com/browse/OSPRH-21250

@fmount
Copy link
Contributor Author

fmount commented Oct 24, 2025

Early testing looks promising:

======
Totals
======
Ran: 142 tests in 132.5648 sec.
 - Passed: 130
 - Skipped: 12
 - Expected Fail: 0
 - Unexpected Success: 0
 - Failed: 0

@fmount fmount force-pushed the ceph9 branch 3 times, most recently from 78a7e21 to 2e51e5f Compare October 26, 2025 13:44
@danpawlik
Copy link
Contributor

@fmount should it be DNM (PR has such label)?

@fmount
Copy link
Contributor Author

fmount commented Oct 27, 2025

@fmount should it be DNM (PR has such label)?

If the current / in progress uni03gamma regression testing works as expected, I will remove the do-not-merge label.
In any case feel free to review if you have additional comments.

@fmount
Copy link
Contributor Author

fmount commented Oct 27, 2025

both unigamma (which deploys ceph 7) and unidelta (where we have ceph 8 and we're going to move to 9) are working properly with this patch. By default we keep backward compatibility, so no changes are required for the existing jobs, while for unidelta we're going to have a ci-framework-jobs patch where we explicitly pass cifmw_rgw_ssl_backward_compatibility: false to build the RGW spec with the new fields.

danpawlik
danpawlik previously approved these changes Oct 28, 2025
@fmount
Copy link
Contributor Author

fmount commented Oct 29, 2025

rebased.

katarimanojk
katarimanojk previously approved these changes Oct 29, 2025
@katarimanojk
Copy link
Contributor

/lgtm

@openshift-ci openshift-ci bot added the lgtm label Oct 29, 2025
@fmount
Copy link
Contributor Author

fmount commented Oct 29, 2025

Note from myself: we need to cherry-pick this patch to FR4 as a prereq for the transition to Ceph 9.

rgw_frontend_ssl_certificate has been deprecated in ceph8 and in ceph9 doesn't
work properly anymore. There's a new way of setting both cert and key when ssl
is used and is fully documented in [1].
This patch still preserves the old way of deploying rgw through a new var used
to execute the old code. When "rgw_ssl_backward_compatibility" is set,
the old facts are set, resulting in populating the old variables, otherwise
the new method based on ssl_cert and ssl_key is applied.

[1] https://docs.ceph.com/en/latest/cephadm/services/rgw/

Signed-off-by: Francesco Pantano <[email protected]>
@fultonj
Copy link
Contributor

fultonj commented Nov 7, 2025

Ah the charming little differences that keep life interesting....

"deprecated in ceph8 and in ceph9 doesn't work properly anymore. There's a new way of setting both cert and key when ssl is used and is fully documented in [1]."

https://docs.ceph.com/en/latest/cephadm/services/rgw/

Copy link
Contributor

@fultonj fultonj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/approve
/lgtm

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Nov 7, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: fultonj

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@fmount
Copy link
Contributor Author

fmount commented Nov 13, 2025

/retest

Copy link
Contributor

@tosky tosky left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The change makes sense and the default behavior is unchanged.

Copy link
Contributor

@katarimanojk katarimanojk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@evallesp evallesp enabled auto-merge (rebase) November 13, 2025 15:25
@evallesp evallesp merged commit 3123b52 into openstack-k8s-operators:main Nov 13, 2025
7 checks passed
@fmount
Copy link
Contributor Author

fmount commented Nov 17, 2025

/cherry-pick 18.0-fr4

@openshift-cherrypick-robot

@fmount: cannot checkout 18.0-fr4: error checking out "18.0-fr4": exit status 1 error: pathspec '18.0-fr4' did not match any file(s) known to git

Details

In response to this:

/cherry-pick 18.0-fr4

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants